*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:"Chiron GoRound TC",sans-serif;
    background:#161616;
    color:#ECECEC;
    line-height:1.7;
}

::-webkit-scrollbar{
    display: none;
}

header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(20,20,20,.9);
    backdrop-filter:blur(12px);
    border-bottom:1px solid #2a2a2a;
}

/*---SPLASHSCREEN/ABOUT/SHOWREEL---*/

.hero{
    width:100%;
    min-height:650px;
    height:80vh;
    max-height:850px;
    position:relative;
    overflow:hidden;
}

.hero::before{

    content:"";

    position: absolute;
    inset:0;

    background:linear-gradient(
    90deg,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.55) 45%,
    rgba(0,0,0,.05) 100%
    );

    z-index:1;
    pointer-events:none;
}

.hero h2{
    font-size:2.5rem;
    color:#40bff1;
}

.hero-overlay{
    position:absolute;
    top:50%;
    left:max(5%, calc((100vw - 1400px) / 2));
    transform:translateY(-50%);
    z-index:2;

    max-width:550px;

    display:flex;
    flex-direction:column;
    gap:18px;

    color:white;
    padding: 20px;
    pointer-events:none;
}

.hero-overlay h1{
    font-size:4rem;
    line-height:1.1;
}

.hero-overlay h2{
    font-size:1.8rem;
    font-weight:500;
    color:#40bff1;
}

.hero-overlay p{
    font-size:1.25rem;
    max-width:38rem;
    color:#DDDDDD;
}

.hero-video{
    display: block;
    width:100%;
    height:100%;
    object-fit:cover;
    box-shadow: 0 12px 35px rgba(0,0,0,.35);
    border:1px solid #2A2A2A;
}

.hero-buttons{
    display:flex;
    flex-wrap: wrap;
    gap:20px;
    margin-top:30px;
    pointer-events:auto;
}

.hero-buttons a{
    display:inline-block;
    padding:16px 34px;
    border-radius:12px;
    text-decoration:none;
    font-weight:600;
    font-size:1.1rem;
    transition:
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .hero-overlay h1 {
        font-size: 3rem;
    }
    
    .hero-overlay h2 {
        font-size: 1.5rem;
    }
    
    .hero-overlay p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
        min-height: 500px;
    }
    
    .hero::before {
        background: linear-gradient(
            180deg,
            rgba(0,0,0,.4) 0%,
            rgba(0,0,0,.7) 100%
        );
    }
    
    .hero-overlay {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .hero-overlay h1 {
        font-size: 2.2rem;
    }
    
    .hero-overlay h2 {
        font-size: 1.2rem;
    }
    
    .hero-overlay p {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-overlay h1 {
        font-size: 1.8rem;
    }
    
    .hero-overlay h2 {
        font-size: 1rem;
    }
    
    .hero-overlay p {
        font-size: 0.9rem;
    }
}

.primary{
    background:#40bff1;
    color:#161616;

    border:2px solid #40bff1;
}

.primary:hover{
    transform:translateY(-3px);
    background:#40bff1;
    box-shadow:
        0 8px 20px rgba(131, 204, 212, 0.25);
}

.secondary{
    color:white;
    border:2px solid rgba(255,255,255,.4);
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(6px);
}

.secondary:hover{
    transform:translateY(-3px);
    border-color:#40bff1;
    color:#40bff1;
    background:rgba(131,212,131,.08);
}

/*---NAVBAR---*/

.navbar{
    width: min(90%, 1400px);
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding: 20px;
}

.navbar-logo{
    text-decoration:none;
    color:#DDDDDD;
    font-size: 1.3rem;
    font-weight:700;
    transition:.25s;
    position:relative;
    white-space:nowrap;
}

.navbar-logo::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#40bff1;
    transition:.25s;
}

.navbar-logo:hover{
    color:#40bff1;
}

.navbar-logo:hover::after{
    width:100%;
}

.navbar-menu{
    display:flex;
    gap:40px;
    list-style:none;
    padding:0;
}

.navbar-menu a{
    text-decoration:none;
    color:#DDDDDD;
    font-size: 1.1rem;
    font-weight:700;
    transition:.25s;
    position:relative;
}

.navbar-menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#40bff1;
    transition:.25s;
}

.navbar-menu a:hover{
    color:#40bff1;
}

.navbar-menu a:hover::after{
    width:100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 6px;
    padding: 8px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #DDDDDD;
    border-radius: 3px;
    transition: .3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .navbar-menu {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(20, 20, 20, 0.98);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid #2a2a2a;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    
    .navbar-menu.active {
        max-height: 500px;
    }
    
    .navbar-menu li {
        border-bottom: 1px solid #2a2a2a;
        padding: 15px 20px;
    }
    
    .navbar-menu li:last-child {
        border-bottom: none;
    }
    
    .navbar-menu a {
        font-size: 1rem;
    }
}

/*---FEATURED PROJECTS---*/

.featured-projects{
    width:min(90%,1200px);
    margin:120px auto;
}

.featured-projects h2{
    font-size:3rem;
    font-weight:700;
    color:white;
    margin-bottom:50px;
    position:relative;
}

.featured-projects h2::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    background:#40bff1;
    margin-top:15px;
    border-radius:5px;
}

.project-grid{
    display:flex;
    flex-direction:column;
    gap:50px;
}

.project-card{
    display:grid;
    grid-template-columns:450px 1fr;
    gap:40px;
    align-items:stretch;
    background:#1E1E1E;
    border-radius:20px;
    overflow:hidden;
    border:2px solid #2A2A2A;
    transition:.3s;
    text-decoration:none;
    color:inherit;
}

.project-image{
    height:100%;
    min-height:320px;
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 18px 45px rgba(0,0,0,.35);
}

.project-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.project-card:hover{
    transform:translateY(-5px);
    border-color:#40bff1;
    box-shadow:0 18px 45px rgba(0,0,0,.35);
}

.project-content{
    padding:35px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.project-content h3{
    font-size:2rem;
    margin-bottom:18px;
    color:#40bff1;
}

.project-content p{
    color:#D4D4D4;
    line-height:1.8;
    margin-bottom:20px;
}

.project-tags{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:25px;
    margin-top: 7px;
}

.project-link{
    color:white;
    font-weight:600;
    transition:.25s;
}

.project-card:hover .project-link{
    color:#40bff1;
    transform:translateX(5px);
}

.project-content h3{
    font-size: 2rem;
    font-weight: 700;
    color: #40bff1;
    margin-bottom: 15px;
}

.project-tags span{
    padding:8px 16px;
    background:#2A2A2A;
    border:1px solid #353535;
    border-radius:999px;
    color:#40bff1;
    font-size:.9rem;
}

.project-tags span a{
    color:#40bff1;
    font-size:.9rem;
}

.project-card:nth-child(even){
    direction:rtl;
}

.project-card:nth-child(even) .project-content{
    direction:ltr;
}

/* Responsive Projects */
@media (max-width: 1024px) {
    .project-card {
        grid-template-columns: 350px 1fr;
        gap: 30px;
    }
    
    .project-content {
        padding: 25px;
    }
    
    .project-content h3 {
        font-size: 1.5rem;
    }
    
    .project-content p {
        font-size: 0.95rem;
    }
    
    .featured-projects h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .featured-projects {
        margin: 80px auto;
    }
    
    .featured-projects h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .project-card {
        grid-template-columns: 1fr;
        gap: 20px;
        border-radius: 15px;
    }
    
    .project-card:nth-child(even) {
        direction: ltr;
    }
    
    .project-image {
        min-height: 250px;
        border-radius: 15px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-content h3 {
        font-size: 1.3rem;
    }
    
    .project-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .project-tags span {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .featured-projects {
        margin: 60px auto;
    }
    
    .featured-projects h2 {
        font-size: 1.5rem;
    }
    
    .project-image {
        min-height: 200px;
    }
    
    .project-content h3 {
        font-size: 1.1rem;
    }
    
    .project-content p {
        font-size: 0.85rem;
    }
    
    .project-tags {
        gap: 8px;
    }
}

/*---FOOTER---*/

footer{
    margin-top:100px;
    background:#0D0D0D;
    border-top:1px solid #2A2A2A;
    padding:60px 0;
}

.footer-content{
    width:min(90%,1200px);
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:20px;
    text-align:left;
}

.footer-content h2{
    color:#40bff1;
    font-size:2rem;
}

.footer-content p{
    color:#AAAAAA;
}

.footer-links{
    display:flex;
    gap:30px;
    margin:10px 0;
    flex-wrap: wrap;
}

.footer-links a{
    color:#ECECEC;
    text-decoration:none;
    font-weight:600;
    transition:.25s;
}

.footer-links a:hover{
    color:#40bff1;
}

.footer-message{
    max-width:500px;
}

.footer-copyright{
    font-size:.9rem;
    color:#666;
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        margin-top: 60px;
        padding: 40px 0;
    }
    
    .footer-content h2 {
        font-size: 1.5rem;
    }
    
    .footer-content p {
        font-size: 0.95rem;
    }
    
    .footer-links {
        gap: 15px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 30px 0;
    }
    
    .footer-content h2 {
        font-size: 1.2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}
